<%@ Control Language="C#" Inherits="SoftwareMonkeys.Scriptech.Web.BaseScript" %>
<%@ Import namespace="SoftwareMonkeys.Scriptech.Projects" %>
<script runat="server">
private void Page_Load(object sender, EventArgs e)
{
	if (!IsPostBack)
	{
		LoadGroupData();
	}
}

private void LoadGroupData()
{
	//Group.DataSource = ProjectsUtil.GetGroups(Request["Store"]);
	//Group.DataBind();
}

private void CreateButton_Click(object sender, EventArgs e)
{
//	string path = 

	//PropertiesCollection properties = new PropertiesCollection();
	//properties["Name"] = ProjectName.Text;

	//properties.Save(path);
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>Create Project Group</title>
</head>
<body>
<form runat="server">
	<h1>Create Project Group</h1>
	<table width="100%">
		<tr>
			<td>Store:</td>
			<td>
				<%= ProjectsUtil.GetStores()[Request["Store"]] %></td>
		</tr>
		<tr>
			<td>Group:</td>
			<td>
				<asp:TextBox runat="server" width="400px" /></td>
		</tr>
		<tr>
			<td> </td>
			<td>
				<asp:button runat="server" id="CreateButton" text="Create" onclick="CreateButton_Click"/>
			</td>
		</tr>
	</table>
</form>
</body>
</html>